import ReactDOM from 'react-dom'
// import App from './App';
import React from 'react'
import App from './components/App'
import { Provider } from 'react-redux'
import { store } from './store'
import './styles.css'
/**
 * react-redux
 * Provider
 * connect
 */

ReactDOM.render(
  // 通过 provide 将 store 保存到全局
  <Provider store={store}>
    <App />
  </Provider>,
  document.getElementById('root')
)
